#include<iostream>
#include<vector>
using namespace std;
int main() {
  vector<int> ivec;
  for(int i=0; i<0xfffff; ++i) {
    ivec.push_back(i);
  }
  cout << ivec.capacity() << endl;
  // cout << ivec.clear() << endl;
  ivec.clear();
  cout << ivec.capacity() << endl;
}